package com.syni.service.mddorder;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @className StudyService
 * @description TOO
 * @Author cfx
 * @DATE 2020/3/1 15:13
 * @VERSION 1.0
 **/
@FeignClient(value = "mdd-order")
public interface StudyRestController {

    //对应要调用的client-user微服务控制层请求方法
    @PostMapping("/study/do")
    String doStudy(@RequestBody Map<String, Object> paramMap);
}
